package com.haircut.project.dao.salary;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.haircut.project.model.salary.UserSalaryBatch;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserSalaryBatchMapper extends BaseMapper<UserSalaryBatch> {
    /**
     * 根据部门生成工资批次
     * @param deptId
     * @return
     */
    UserSalaryBatch findLastByDeptId(String deptId);
}
